package com.stylefeng.guns.wx.bean;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.Data;

@Data
@JacksonXmlRootElement(localName = "xml")
public class WxContactXmlMsg {

    @JacksonXmlProperty(localName = "ToUserName")
    private String toUserName;

    @JacksonXmlProperty(localName = "FromUserName")
    private String fromUserName;

    @JacksonXmlProperty(localName = "ChangeType")
    private String changeType;

    @JacksonXmlProperty(localName = "UserID")
    private String userId;

    @JacksonXmlProperty(localName = "NewUserID")
    private String newUserId;

    @JacksonXmlProperty(localName = "Name")
    private String name;

    /**
     * 成员管理部门ids 多个用","分割开
     */
    @JacksonXmlProperty(localName = "Department")
    private String department;

    @JacksonXmlProperty(localName = "Mobile")
    private String mobile;

    @JacksonXmlProperty(localName = "Position")
    private String position;

    @JacksonXmlProperty(localName = "Gender")
    private Integer gender;

    @JacksonXmlProperty(localName = "Email")
    private String email;

    @JacksonXmlProperty(localName = "Status")
    private Integer status;

    @JacksonXmlProperty(localName = "ParentId")
    private Integer parentId;

    @JacksonXmlProperty(localName = "Order")
    private Integer order;

    //部门Id
    @JacksonXmlProperty(localName = "Id")
    private Integer id;

}
